<template>
  <div class="bottom">
    <!-- @click="$router.push('/login')"  -->
    <img src="@assets/image/login.png" @click="$router.push('/login')" v-if="!flag" >
  </div>
</template>

<script>
import { checkLogin } from '@utils'
  export default {
    computed: {
     flag(){
       return checkLogin()
     }
    }
  }
</script>

<style lang="scss" scoped>
.bottom{
  position: fixed;
  bottom: 45px;
 width: 100%;
 img{
   width: 100%;
 }
}
</style>